package com.ieng.ormosia.connect.mapper;

import com.ieng.ormosia.connect.model.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {

	List<Permission> selectAll();

	List<Permission> select(Permission permission);

	List<Permission> selectDeletedList();

	Permission selectByPrimaryKey(Long id);

	int insert(Permission record);

	int updateByPrimaryKey(Permission record);

	int updateDeletedByIds(@Param("ids") Long[] ids);

	int deleteByIds(@Param("ids") Long[] ids);

}